<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>青马班后台</title>
    <link rel="stylesheet" type="text/css" href="../../static/css/normalize.css" />
    <link rel="stylesheet" href="../../static/css/main.css">
    <link rel="stylesheet" href="../../static/css/demo_styles.css">
    <link rel="stylesheet" href="../../static/css/demo1.css">
    <link rel="stylesheet" type="text/css" href="../../static/css/default.css">
    <script src="../../static/js/vendor/modernizr-2.6.2.min.js"></script>
    <!--[if IE]>
    <script src="http://libs.useso.com/js/html5shiv/3.7/html5shiv.min.js"></script>
    <![endif]-->
    <style>
        ::-webkit-scrollbar{width:0}
    </style>
    <%
        String userId = (String)(request.getSession().getAttribute("username"));
    %>
</head>
<body class="dm-demo1">
<%@include file="Do/checkAdminLogin.jsp"%>
<div class="htmleaf-container">
    <header class="htmleaf-header">
        <h1>青马班后台管理<span>by Jimmy and Senia</span></h1>
        <div style="color: #ffffff;font-size: 14px">
            欢迎 <%=UserDb.selectUserById(userId).getName()%><br>
            <a style="color: #fff;" href="changePassword.jsp" title="修改密码" target="_blank"><span>修改密码</span></a>
            &nbsp;
            <a style="color: #fff;" href="javascript:void(0);" onclick="logout()" title="注销"><span>注销</span></a>
        </div>

    </header>
    <!-- Navigation -->
    <nav class="nav clearfix">
        <button class="nav-el" id="el-topleft" data-id="ov-topleft"><span class="icon-import"></span></button>
        <button class="nav-el" id="el-topright" data-id="ov-topright"><span class="icon-checkin"></span></button>
        <button class="nav-el" id="el-mdlleft" data-id="ov-mdlleft"><span class="icon-credit"></span></button>
        <button class="nav-el" id="el-mdlright" data-id="ov-mdlright"><span class="icon-student"></span></button>
        <button class="nav-el" id="el-btmleft" data-id="ov-btmleft"><span class="icon-choose"></span></button>
        <button class="nav-el" id="el-btmright" data-id="ov-btmright"><span class="icon-comment"></span></button>
    </nav>
    <!-- Overlay (hidden by default)-->
    <section class="overlay" id="ov-topleft">
        <iframe src="import.jsp" style="overflow-y: hidden;" allowtransparency="true" width="100%" height="100%"
                scrolling="yes" frameborder="0"></iframe>
        <button class="close"><span class="mfg-cancel"></span></button>
    </section>

    <section class="overlay" id="ov-topright">
        <iframe src="attendance_index.jsp" allowtransparency="true" width="100%" height="100%"
                    scrolling="yes" frameborder="0"></iframe>
        <button class="close"><span class="mfg-cancel"></span></button>
    </section>

    <section class="overlay" id="ov-mdlleft">
        <iframe src="credit.jsp" allowtransparency="true" width="100%" height="100%"
                    scrolling="yes" frameborder="0" class="wrap"></iframe>
        <button class="close"><span class="mfg-cancel"></span></button>
    </section>

    <section class="overlay" id="ov-mdlright">
        <%--<%@include file="student.jsp"%>--%>
        <iframe src="student.jsp" allowtransparency="true" width="100%" height="100%"
                scrolling="yes" frameborder="0"></iframe>
        <button class="close"><span class="mfg-cancel"></span></button>
    </section>
    <section class="overlay" id="ov-btmleft">
        <iframe src="selectCourse.jsp" allowtransparency="true" width="100%" height="100%"
                scrolling="yes" frameborder="0"></iframe>

        <button class="close"><span class="mfg-cancel"></span></button>
    </section>

    <section class="overlay" id="ov-btmright">
        <iframe src="rating.jsp" allowtransparency="true" width="100%" height="100%"
                scrolling="yes" frameborder="0" class="wrap"></iframe>
        <button class="close"><span class="mfg-cancel"></span></button>
    </section>

    <div class="browser_msg">
        <p>对不起，你的浏览器不支持CSS3特性!</p>
    </div>
</div>

<script src="http://libs.useso.com/js/jquery/1.10.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../static/js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
<script src="../../static/js/plugins.js"></script>
<script src="../../static/js/demo.js"></script>
</body>
<script>
    function logout() {
        location.href = '../../logout?type=superadmin';
    }
</script>
</html>